package com.wuhunyu.service;

import com.wuhunyu.commonutils.result.CommonResult;
import com.wuhunyu.entities.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author wuhunyu
 * @since 2021-01-17
 */
public interface EduVideoService extends IService<EduVideo> {

    /**
     * 添加小节
     * @param eduVideo
     * @return
     */
    public CommonResult addVideo(EduVideo eduVideo);

    /**
     * 修改小节
     * @param eduVideo
     * @return
     */
    public CommonResult updateVideo(EduVideo eduVideo);

    /**
     * 删除小节
     * @param id
     * @return
     */
    public CommonResult deleteVideo(String id);

}
